home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / alsa-base.postrm < prev    next >
Text File  |  2009-10-11  |  508b  |  27 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ "$1" = "purge" ]; then
  6. #    if [ -L /dev/sndstat ]; then
  7. #        rm -f /dev/sndstat
  8. #        echo "Remaking /dev/sndstat."
  9. #        # Keep this in sync with /sbin/MAKEDEV
  10. #        if cd /dev && mknod --mode=0660 sndstat c 14 6 ; then
  11. #            chown root:audio sndstat || :
  12. #        fi
  13. #    fi
  14.     # Remove configuration files
  15.     rm -f \
  16.         /etc/default/alsa \
  17.         /etc/default/alsa.dpkg-old
  18.     # Remove apm symlinks
  19.     rm -f \
  20.         /etc/apm/suspend.d/??alsa \
  21.         /etc/apm/resume.d/??alsa
  22.     # Remove run time files
  23.     rm -rf /var/run/alsa
  24. fi
  25.  
  26.  
  27.